package com.shareppy.norman.core.queries;


import com.shareppy.norman.core.db.CursorWrapper;
import com.shareppy.norman.core.entity.AbstractEntity;
import com.shareppy.norman.core.sql.QueryBuilder;

public interface ComplexQuery<E extends AbstractEntity, R> {

	QueryBuilder getQuery();

	R transform(CursorWrapper<?> cursor) throws Exception;
	
	Object[] getParameters();

}